package org.example.service;

import org.example.entity.District;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 地区表 服务类
 * </p>
 *
 * @author 
 * @since 2025-05-09
 */
public interface IDistrictService extends IService<District> {

    List<District> getRegionsByLevel();

    List<District> getChildrenByParentName(int parentId,int level);
}
